package com.example.demo.common.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.activerecord.Model;

public class Role  extends Model<Role> {
    private String id;

    private String roleName;

    private String roleNameCn;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName == null ? null : roleName.trim();
    }

    public String getRoleNameCn() {
        return roleNameCn;
    }

    public void setRoleNameCn(String roleNameCn) {
        this.roleNameCn = roleNameCn == null ? null : roleNameCn.trim();
    }

	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return id;
	}
}